x11: Query whether we have GLX support
authorEmmanuele Bassi <ebassi@gnome.org>
Thu, 16 Feb 2017 00:04:50 +0000 (00:04 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 28 Oct 2017 13:46:15 +0000 (09:46 -0400)
commit02eb344950547c66a9096094f271b98e94614fcb
tree613136ec51d0e9e9d2c0fd96396721cc97568b98
parent183538c2e23ccbd495580f895069b22d44135d68
x11: Query whether we have GLX support

Epoxy 1.4 has new ad hoc API that we can use to check whether GLX is
available on the current system.

If we didn't use this API, we'd have to manually dlopen libGL (or its
equivalent on different OSes) and check if it had GLX symbols; since
Epoxy already does all of this internally, we can simply ask it instead.

https://bugzilla.gnome.org/show_bug.cgi?id=775279
gdk/x11/gdkglcontext-x11.c